package com.wondertek.service.sdk.iotdh.dto.req.utc;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author xxx
 * @Date 2024/8/22 16:13
 */
@Data
public class SetDeviceUTCTimezoneReq {
    @NotBlank
    @Schema(name = "deviceId",description = "设备sn",required = true)
    private String deviceId;//设备id 必填

    @Schema(name = "beginDstTime",description = "开始时间",required = false)
    private String beginDstTime;

    @Schema(name = "endDstTime",description = "结束时间",required = false)
    private String endDstTime;

    @Schema(name = "offset",description = "时间偏移量",required = false)
    private String offset;

    @Schema(name = "timezone",description = "时区",required = true)
    @NotNull
    private Integer timezone;

    @Schema(name = "areaDesc",description = "区域描述",required = true)
    @NotBlank
    private String areaDesc;

}
